<div class="panel panel-default panel-intro">
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar1" class="toolbar">
                        <form id="add-form" class="form-horizontal" role="form"  method="POST" action="">
                          开始日期：<input id="query_date" style="width: 200px;" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="query_date" type="text" value="{$query_start_date}">
                          结束日期：<input id="query_date" style="width: 200px;" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="query_date" type="text" value="{$query_end_date}">
                        <button type="button" class="btn btn-primary btn-embossed">查询</button>
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        </form>
                    </div>
                    {foreach name="tables" item="vo"}
                    <div id="div{$vo.id}">
                        <div>
                            {$vo.name}
                        </div>
                        <table id="table{$vo.id}" class="table table-striped table-bordered table-hover" width="100%">
                        </table>
                    </div>      
                    {/foreach}
                </div>
            </div>

        </div>
    </div>
</div>
<textarea id="tables" class="form-control hidden" style="margin-top:5px;">{$tablesSn}</textarea>
